package com.neo.push.core;

import com.alibaba.fastjson.JSON;

/**
 * Created by lock on 17-7-13.
 */
public class JsonObjectMessage<T> extends TextMessage {

    public JsonObjectMessage(MessageType type,T t) {
        super(type,JSON.toJSONBytes(t));
    }


}
